	<?php echo validation_errors('<p class="error">', '</p>'); ?>
    	<?php 
		$attributes = array('class' => 'adminForm ', 'id' => '');
		$hidden = array();
		//if($model['id']){
		$hidden = array('id' => $model['id']);
		//}
		echo form_open('',$attributes,$hidden) ?>
        	<!--<input type="hidden" value="<?php echo $model['id'] ?>" name="id" id="id" />-->
        	<ul>
            	<li><?php echo form_label(lang('room:title'))?>
                	<div class="input"><?php 
						$data = array('name'=>'title','id'=>'title','value'=> $model['title'],'maxlength'=>40,'class'=>'inputText small');
						echo form_input($data);?></div>
                </li>
				<li><?php echo form_label(lang('room:phone'))?>
                	<div class="input"><?php 
						$data = array('name'=>'phone','id'=>'phone','value'=> $model['phone'],'maxlength'=>30,'class'=>'inputText small');
						echo form_input($data);?></div>
                </li>
                <li><?php echo form_label(lang('room:parent_id'))?>
                	<div class="input"><?php 
						echo form_dropdown('parent_id', array(0 => lang('global:select-pick')) + $room_select, $model['parent_id'], 'id="parent_id" class="chzn-select-deselect" style="min-width:300px"');?></div>
                </li>
                 <li><?php echo form_label("Mô tả")?>
                	 <div  class="input">
                 	<?php 
						$options = array('id' => 'description', 
								'name' => 'description', 
								'value' => $model['description'], 
								'rows' => 50, 
								'class' => 'ckeditor'
							);
					
					echo form_textarea($options) ?>
                    </div>
                </li>
            </ul>
        {{ theme:partial name="_form_button" }}			
        <?php echo form_close() ?>    
